package com.yunhai.ucenter.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yunhai.common.dto.PaginationVo;
import com.yunhai.model.entity.ums.UmsPermission;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author mengze
 * @since 2023-08-23
 */
public interface SysMenuService {
    void addMenu(UmsPermission sysMenu) throws Exception;

    void updateMenu(UmsPermission sysMenu) throws Exception;

    void batchRemoveMenu(List<Long> ids) throws Exception;

    public IPage paginationMenuList(PaginationVo paginationVo) throws Exception;

    List<UmsPermission> allMenuList() throws Exception;
}
